package com.woniuxy.yoga.user.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import javax.validation.constraints.Min;

@Data
@ApiModel("分页查询用户信息参数")
public class ListUsersForm {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("手机号")
    private String userPhone;

    @ApiModelProperty("用户账号状态 0未实名认证 1实名认证未通过 2已认证 3禁用 4删除")
    private Integer userState;

    @ApiModelProperty("身份证")
    private String idCard;

    @ApiModelProperty("当前页数")
    @Min(1)
    private Integer pageNum;

    @ApiModelProperty("每页条数")
    @Min(1)
    private Integer pageSize;
}
